/* -------------------------
   Footer / Contact shared
-------------------------- */

.kontakty{
    position:relative;
    height:auto;
    width: 100%;
    overflow: hidden;
}

.kontakty-box{
    display: grid;
    place-items: center;
    padding: 80px 20px 40px 20px;
}

.footer{ margin-top: 22px; }

.footer-kontakty{
  width: 100%;
  max-width: 720px;
  text-align: center;
  margin: 0 auto;
}

.footer-kontakty h2{
  margin: 14px 0 18px 0;
  font-size: 2rem;
}

.kontakty-dotaznik{
  display:flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.kontakty-dotaznik textarea{
  width: 100%;
  max-width: 720px;
  height: 160px;
  padding: 15px;
  border-radius: 12px;
  resize: none;
  font-size: 1rem;
  outline: none;
}

.button-wrapper{
  width: 100%;
  max-width: 720px;
  display:flex;
  justify-content: flex-end;
}

.kontakty-dotaznik button{
    padding: 11px 22px;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: transform .2s ease, border-radius .2s ease, background .2s ease;
}

.kontakty-dotaznik button:hover{
    transform: translateY(-1px);
    border-radius: 16px;
}

.form-status{
  min-height: 22px;
  font-size: 0.95rem;
}

/* Shared ornament-frame base — each theme defines its own border color and animation */
.ornament-frame {
    position: relative;
    width: 100%;
    max-width: 650px;
    padding: 40px 30px 30px;
    border-radius: 18px;
    text-align: center;
    backdrop-filter: blur(12px);
    box-sizing: border-box;
}

.nadpis {
    font-size: clamp(2.5rem, 3vw + 1rem, 3.5rem);
    color: var(--text);
    margin-bottom: 12px;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .kontakty-box {
        padding: 80px 16px 30px 16px;
    }

    .ornament-frame {
        padding: 28px 16px 20px;
    }

    .footer-kontakty h2 {
        font-size: 1.4rem;
    }
    
    .nadpis {
        font-size: clamp(1.6rem, 6vw, 3rem);
    }

    .lead {
        font-size: clamp(0.95rem, 3.5vw, 1.1rem);
        line-height: 1.65;
    }
}

.rights {
    width: 100vw;
    padding: 15px 0;
    background: transparent;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: var(--text);
    text-align: center;
}